import Types from '../mutation-types';


const state = {
	userName: null,
	userId: null,
	token:null
}

const mutations = {
	[Types.CHECK_TOKEN_SUCCESS](state,data){
		state.token=data.token;
	}
}
export default {
	state,
	mutations
}
